package BehaviorModel.chainOfResponsibilityModel;

public class PurseRequest {

    private String type; // 请求类型

    private float price; // 价格

    private int id; // 请求编号

    public PurseRequest(String type,
                        float price,
                        int id) {
        this.type = type;
        this.price = price;
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "PurseRequest{" +
                "type='" + type + '\'' +
                ", price=" + price +
                ", id=" + id +
                '}';
    }
}
